<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <meta charset="utf-8">
        <link rel="stylesheet" type="text/css" href="<?=base_url().'assets/css/login.css'?>" />
        <title>Register</title>       
</head>

<body>
<div id="wrapper">
   <?php
       $form = array('name'=>'login-form','class'=>'login-form');
       echo form_open('user/register_validation',$form);
    ?>
       
       <div class="header">
            <h1 style="color:#009900">Sign Up Page</h1>
            <span>Please fill out all fields.</span>
        </div>
	
      <div class='content'>
        <?php
	$data = array('name'=>'txtFirstName','id'=>'txtFirstName','value'=>$this->input->post('txtFirstName'),'autocomplete'=>'off','placeholder'=>'First Name','class'=>'input txtFirstName');
	echo form_input($data);
        echo '<div class="user-icon"></div>';
	
	
	$data = array('name'=>'txtLastName','id'=>'txtLastName','value'=>$this->input->post('txtLastName'),'autocomplete'=>'off','placeholder'=>'Last Name','class'=>'input txtLastName');
	echo form_input($data);
        echo '<div class="user-icon"></div>';
	
	$data = array('name'=>'txtEmail','id'=>'txtEmail','value'=>$this->input->post('txtEmail'),'autocomplete'=>'off','placeholder'=>'Email Address','class'=>'input txtEmail');
	echo form_input($data);
        echo '<div class="user-icon"></div>';
	
	$data = array('name'=>'txtPassword','id'=>'txtPassword','autocomplete'=>'off','placeholder'=>'Password','class'=>'input txtPassword');
	echo form_password($data);
        echo '<div class="pass-icon"></div>';
	
	$data = array('name'=>'txtPassword2','id'=>'txtPassword2','autocomplete'=>'off','placeholder'=>'Confirm Password','class'=>'input txtPassword2');
	echo form_password($data);
        echo '<div class="pass-icon"></div>';
	
        ?>
      </div>
    
        <div class="footer">
		<input type="submit" name="btnSubmit" value="Submit" class="button" />
                <a href="<?=base_url().'user/login'?>"  class='button'>Login</a>
        </div>
       
      <?php
	echo form_close();
      ?>    
    <div style="padding:10px; font-size:14px; color:#F00; text-align:center">
        <?=validation_errors()?>
    </div>
</div>
    
</body>
</html>